Name :String deletion

Symbol :DELETE

Illustrate:

    Remove L characters of IN starting from the P character.

Image:

Parameter:

Parameter Statement Type Description
IN Input STRING
Enter a string
L Input USINT
Delete the length
P Input USINT
Start position
OUT Output STRING
Output string

Example:

LD:

ST:



Interpretation:

parameter operandvalue
IN1TagInEnter a value:'ABXYC'
LTagLenlength:2
PPositionStart position:3
OUTTagOutOutput value:'ABC'
    IN inputs string type data, L inputs the length of deletion, P inputs the start position, and OUT outputs the deleted string.